import React from 'react';
import { Provider } from 'react-redux';
import { ConfigProvider, theme } from 'antd';
import { store } from './store';
import Home from './pages/Home';
import './App.css';

function App() {
  return (
    <Provider store={store}>
      <ConfigProvider
        theme={{
          algorithm: theme.defaultAlgorithm,
          token: {
            colorPrimary: '#1890ff',
          },
        }}
      >
        <div className="App">
          <Home />
        </div>
      </ConfigProvider>
    </Provider>
  );
}

export default App;
